package com.vedio.entity;

import java.util.Date;

public class Movie {
    private Integer id;
    private String name;
    private String url;
    private String sort;
    private Date uploadtime;
    private Integer playtime;
    private Integer collecttime;
    private Integer series;
    private Double price;
    private Integer limit;

    public Movie(Integer id, String name, String url, String sort, Date uploadtime, Integer playtime, Integer collecttime, Integer series, Double price, Integer limit) {
        this.id = id;
        this.name = name;
        this.url = url;
        this.sort = sort;
        this.uploadtime = uploadtime;
        this.playtime = playtime;
        this.collecttime = collecttime;
        this.series = series;
        this.price = price;
        this.limit = limit;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }

    public Date getUploadtime() {
        return uploadtime;
    }

    public void setUploadtime(Date uploadtime) {
        this.uploadtime = uploadtime;
    }

    public Integer getPlaytime() {
        return playtime;
    }

    public void setPlaytime(Integer playtime) {
        this.playtime = playtime;
    }

    public Integer getCollecttime() {
        return collecttime;
    }

    public void setCollecttime(Integer collecttime) {
        this.collecttime = collecttime;
    }

    public Integer getSeries() {
        return series;
    }

    public void setSeries(Integer series) {
        this.series = series;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    @Override
    public String toString() {
        return "Movie{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", url='" + url + '\'' +
                ", sort='" + sort + '\'' +
                ", uploadtime=" + uploadtime +
                ", playtime=" + playtime +
                ", collecttime=" + collecttime +
                ", series=" + series +
                ", price=" + price +
                ", limit=" + limit +
                '}';
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Movie() {
    }
}
